package org.teachertools.common;

public class ValidationUtils {

	public static boolean isNotEmpty(String str) {
		return str != null && str.length() > 0;
	}

	public static boolean isNotEmpty(Number o) {
		return (o != null) && (o.longValue() != 0);
	}

	public static boolean isNotEmpty(Object o) {
		return (o != null);
	}

}
